﻿using SISCON.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for AuthToken
/// </summary>
/// 
namespace SISCON.Vo
{
    public class AuthToken
    {
        private string _DisplayName = null;
        private string _SessionUUID = null;
        private string _RoleId = null;
        private string _UserId = null;
        private List<RoleDet> _Permissions = null;

        public AuthToken() { }

        public AuthToken(string DisplayName, string SessionUUID)
        {
            this.DisplayName = DisplayName;
            this.SessionUUID = SessionUUID;
        }

        public string DisplayName
        {
            get { return _DisplayName; }
            set { _DisplayName = value; }
        }

        public string SessionUUID
        {
            get { return _SessionUUID; }
            set { _SessionUUID = value; }
        }

        public string RoleId
        {
            get { return _RoleId; }
            set { _RoleId = value; }
        }

        public string UserId
        {
            get { return _UserId; }
            set { _UserId = value; }
        }

        public List<RoleDet> Permissions
        {
            get { return _Permissions; }
            set { _Permissions = value; }
        }
    }
}